package com.mt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.pojo.Acl;
import com.mt.pojo.Role;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Wang
 * @since 2020-11-12
 */
public interface RoleService extends IService<Role> {
    Boolean modifyRole(Role role, List<Integer> newAclIds);

    List<Acl> listAclByRole(Role role);

    Boolean addRole(Role role, List<Integer> aclIds);

}
